<?php
/**
 * @author Radovan Dvorsky
 * @version 20102703
 */
require_once ('library/My/Form/AjaxForm.php');

class Form_Result_AddThesis extends My_Form_AjaxForm {
	
	public function __construct($jqueryParams, $options = null) {
		parent::__construct ($options);
			
		$this->setJqueryParams($jqueryParams);		
		
		
		$nameCZ = new Zend_Form_Element_Text('name_cz');
		$nameCZ->setLabel('CZ:');
		
		$nameENG = new Zend_Form_element_text('name_eng');
		$nameENG->setLabel('ENG:');
				
		$submit = new Zend_Form_Element_Button('submitThesis');
		$submit->setLabel('Ok');
		
		$this->addAjaxableElements(array($nameCZ,$nameENG));
		$this->setSender($submit,'onclick');
		
		$this->addElements(array($nameCZ,$nameENG,$submit));
	}	
}

?>